package com.qidian.mes.md.mapper;

import com.qidian.mes.pojo.MdCustomer;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author: CoolPro
 * @Description: 客户管理
 * @Time: 2024-04-09 20:28
 **/
public interface MdCustomerMapper {
    List<MdCustomer> getCustomers(@Param("keyWord")String keyWord, @Param("offset")Integer offset, @Param("pageSize")Integer pageSize);

    MdCustomer getCustomerById(Long id);

    void insertCustomer(MdCustomer customer);

    void updateCustomer(MdCustomer customer);

    void updateUserStatus(Long id, Integer status);

    Integer getCount();

}
